package com.program.houai.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @version v1.0
 * @ProjectName: hou
 * @ClassName: ChildUserVipCardVO
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/9/2 19:02
 */
@Data
public class ChildUserVipCardVO {

    @ApiModelProperty(value = "主键")
    private int id;

    @ApiModelProperty(value = "会员卡Id")
    private int cardId;

    @ApiModelProperty(value = "用户Id")
    private int  userId;

    @ApiModelProperty(value = "姓名")
    private String username;

    @ApiModelProperty(value = "性别，0：未知，1：男，2：女")
    private int gender;

    @ApiModelProperty(value = "年龄")
    private int age;

    @ApiModelProperty(value = "激活日期")
    @JsonFormat(pattern="yyyy/MM/dd")
    private Date createTime;

    @ApiModelProperty(value = "卡有效期")
    @JsonFormat(pattern="yyyy/MM/dd")
    private Date effectiveTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern="yyyy/MM/dd")
    private Date updateTime;

    @ApiModelProperty(value = "会员卡图片")
    private String url;

    @ApiModelProperty(value = "会员卡等级")
    private int level;

    @ApiModelProperty(value = "会员卡等级")
    private String cardName ;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "用户头像")
    private String avatarUrl;
}
